<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <script  type="text/javascript" src="/js/vue.js"></script>
</head>
<body>
    <div id="root">


        <div :title="title">Hello world</div>
        <input v-model="content" />
        <div>{{content}}</div>
    </div>
    <script>
        new Vue({
            el: "#root",

            data:{
               content: "Hello word",
                title: "this is a title"
            }
        })
    </script>
</body>
</html>